Skip to content

bad response code on login error#145

Merged
sdumetz merged 1 commit intomainfrom
login_error_status
Mar 17, 2026
Merged

bad response code on login error#145
sdumetz merged 1 commit intomainfrom
login_error_status

Conversation

@sdumetz
Copy link
Member

@sdumetz sdumetz commented Mar 13, 2026

response status code was improperly forced to 200 on login failures when returning application/json or text/plain content.

Add regression tests

Additionally, update the handler to use async/await instead of a next handler.

@sdumetz sdumetz force-pushed the login_error_status branch from fa65017 to 9fbd49e Compare March 13, 2026 10:16
@sdumetz sdumetz merged commit 48c67ab into main Mar 17, 2026
11 checks passed
@sdumetz sdumetz deleted the login_error_status branch March 17, 2026 10:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant